package com.baitiaojun.api.annotation;

import com.baitiaojun.api.util.ConstantUtil;
import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * @类名 UserAuthoritiesAccess
 * @作者 白条君
 * @创建日期 2022/12/7 23:39
 * @版本 1.0
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface UserAuthoritiesAccess {

    String[] accessRole() default ConstantUtil.ROLE_LV0;
}
